package cn.kgc.blog.service;

import cn.kgc.blog.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    User login(String username,String password);
    User select(int id);
    int update(String username, String password,int id);
    List<User> selectAll();
    int insert(User user);
    int delete(int id);
}
